helloApp.config(function($stateProvider, $urlRouterProvider) {

    $stateProvider
        .state('root.admin.users', {
			url: "/users",
			views: {
				"content": {
					templateUrl : "/app/private/user/view/users.html",
					controller: 'UsersCtrl'
				}
			}
        });
});

helloApp.controller('UsersCtrl', function ($scope, $http, UserService) {

	UserService.getAll(function(data) {
		$scope.users = data;
	});
});